<?php



namespace App\Services\Company\Models;

use Illuminate\Database\Eloquent\Model;

class CompanyMenu extends Model
{


    protected $table = 'company_administrator_menus';

    protected $fillable = [
        'name', 'url','permission','icon','parent_id','sort','is_super'

    ];

    public function children()
    {
        return $this->hasMany(__CLASS__, 'parent_id');
    }






}
